Cleanup client side js