Updated script to use a more conventional nomenclature and liberal spacing as suggested by the jQuery guidelines.