java script fix