Create Empty Array Javascript Offsettop Javascript Code