Add local.js for travis