JS for application needs fixing and rake precomile assets giving CSS ; error