Moved Javascript to a custom file.