remodel client
coffee to js