main html product js in controllers