added mobile redirect
polyfills for safari 5