moved javascript funciton
Merge pull request #54 from cfinn2010/master

moved js function