Switched to angular.js routing