code with javascript

revolve script added