js execution engine fixes,compatibility upgrade

this version allows all browsers tested so far (some on PC & android device) to display the parsed directory contents.  previously, only firefox worked.