Change deploy script to deploy from master instead of production branch. Remove duplicate application.js