modify travis.yml and add js to view