Changed javascript to new file.