Change jquery selectors to be more precise

Pull request for issue #34.