Limited the scope of the jquery selectors to the first match in the array
Merge pull request #5 from ray-peters/Scope

Limited the scope of the jquery selectors to the first match in the array