remove compiled javascript
split up expansion into utils