handling getting 403 in Ajax calls from JS by reloading the page. Fixes ...

...#1146