Add server option to jenerator, and revert regenerate_client to wscript