java script in progress