switched from coffeescript to jquery, implemented password recovery