Added more sensible django variable to JS handling that IE likes