added background preloading and jquery