add travis, update some js