For java script