1. use self instead of `bind(this)` 2. get rid of ugly `switch` syntax, separate handle function from switch. 3. hope project more modularize. 4. jslint
1. use self instead of `bind(this)`
2. get rid of ugly `switch` syntax, separate handle function from switch.
3. hope project more modularize.
4. jslint

tests passed

adleroliveira/dreamjs