remove some incorrect JS and leakyness
add travis ci config