- changed namespace
- changed use of live() to on()
- add var keyword
js updated