work around for forbidden keyword new in js syntax