only compile .js and .es6 files - closes #2