Added more performant javascript
Added more performant javascript