initial java script