circle positioning in javascript.