Test javascript
fix quotes
implement redirect logic