offline query and start work ajax functions
updated window scroll and hash functions

using data attributes