Precompile acitvate error messages js