minor edits for cleaner code
rolled back jquery to 1.3.0 to fix a bug