Removed unused value function from JSpark