small refactor and change rickshaw time format
add jasmine structure