Removed filter from head and added it to application.js.