Run javascript on mobile device and debug on computers