Javascript added new feature (not done yet)