Fix Math regexp by global scoping module + fix 3d js