Moved the javascript to the root of the dir