Rearranged hero.js

It was a bit disorganised and should be easier to navigate now