Added in jquery file. Also some code cleanup.