Only run build command for Javascript files