Hi mate, I can perfectly implement the Wordpress' wp_enqueue_script function, the way you want it. I make use of the very same function every now and then in my Wordpress projects. I'm a Wordpress/PHP/jQuery developer, and this is the least I can do. Also, I'm willing to help you with any more number of issues you might be facing. :)
Looking forward to it.
Thank you :)