cleanup javascript
add instructional labels