Fixed bug with handing static content location over to javascript