Moved product element selectors to separate function. Product js back to product template