a small fix to deal with non JS/JSON files
adding travis-ci & david-dm