Changing to raw JS
Improved script
Refactoring eeeeverything