whoops bad js
fixes bug where NaNpx will show up for css height and width