Updating to work with rails 4 asset pipeline