changes in javascript functionality..