janky javascript
javascript working