removed javascript.js endpoint and just put a script element in the post view