Hello,
I'm an HP certified instructor in Greece, teaching (among other topics) shell scripting and perl, for more than 13 years, all levels. At the same time, I'm working as a freelancer developer. I can modify and fully test your script in max 1 day. I will need 2-3 sample files for my tests, including at least one javascript.
Looking forward to hear from you,
Kind regards,
chriskerpini