really, all better. js in application file