Fixed the js selectors