cleanup messy js
1.0.2