add js to travis, add php build file