cleaned up some code as well as added some custom js to my page