* use a AMD way to write jasmine specs
* code prettify