Don't add slash if the URL is just a slash
Setup loading bar outside init function
Internet Explorer absolutely hates objects or lists with trailing commas
Internet Explorer absolutely hates objects or lists with trailing commas