Only register js files