more tweaks to cg stuff

- move js out of CMS
- new styles for handling switch in images and success/error message
handling
- more info form now submits via js