Prepared js for custom scripts and added some more html hooks