Major Rewrite, updated jQuery