Js Push Array Error Handling In Compiler