fixed register js - remove changes for local host