Update build file seletor to .js and .json only.