Renamed javascript to main.js