Starts the work on correcting issues via js as a helper

Issues addressed and tasks being done
-[ ] fix #42
-[ ] clean up