Moved my javascript to a separate file