looks like it works now

I've divided the javascript file up into smaller files, the code is not
changed!! I did this for easier peruse as well as testing.
(I will continue to try to test to se if the fix helps)