Initail adaption

- jQuery version 1.9.1
- .on() event handler instead of .scroll() and .resize()
- Event namespaces to reduce conflicts with other scripts