Smarter js function snippet (thanks Magnar!)
Add "toggle rectangular selection" function like in textmate
Misc changes