loading php modules to client side