fixed js. in the middle of editing homepage