Revert "Undid most changes. JS not working directly. About 2 use other template."

This reverts commit bc7d17dfe7a4773a27bc3c91a79b666c22e91967.
Couldn't reference css from js. Bugs to fix.