fixing travis's JS