refactor client side js app