Changing it so pages load permalink definitions of javascript instead of pages/show