hack to get relative path static images in JS to use the correct django URL