moved to use jsroutes
no more erb required