added javascripts to prettify urls for django submission