changes in js formatting