"I can extract." That said, hey there! :)
Switching your code over to work on the client side should be fairly straightforward. I might have a question or two on the specifics of the PHP version of the code, but seeing as JavaScript is my area of expertise, I should be able to get everything functional for you.
As for the standard "about me" formalities, I've been using JavaScript both professionally and as a hobby most of my life, and while I've only recently joined Freelancer.com, I've been freelancing as a JavaScript expert for quite some time now. By all means, feel free to check my profile for a few testimonials from past clients, as well as to get to know a bit more about me.
With that out of the way, I'd love to hear from you as soon as possible. Toss me a reply so we can get started right away! I look forward to working with you. :)