Fixed a bug for added javascripts and css that lacked url prefix