Java Polymorphism Doesnt Apply To Static Methods In Js