Added waitmask
Abort ajax reload call when navigating quickly

When the user uses the browser back/forward buttons, abort the current
ajax reload call
Fixed data-file hack to also be applied after ajax call