java script to sask