refactored js tests
add travis img