fixed serious javascript breakage in production due to asset precompilation