Fixed a few issues with generating IDs to keep those without IDs or valid classes out.
Got jquery to finally work.. starting prie addition