collection of helper methods for interacting with javascript/jquery