Haxe externs for JS & PHP