         error_y = $context.find('.unhappy').first().offset().top - header_height - 20
         scrollTo(0, error_y)
 
-window.pluralize_like_count = (like_count) ->
-    if like_count is 1 then 'like' else 'likes'
 
 if gon.page is 'stores_show' or gon.page is 'products_show' or gon.page is 'products_index' or gon.page is 'stores_new'
     # only reveal product gallery controls if there

window.templates = {}

$ ->
    window.header_height =  ($ '.mobile-header').height()

        # at the position it was set to at page unload
        header_fix = -> scrollTo(0, 0)

        $(window).scroll -> forceReflow()

        if gon.page is 'stores_show' or gon.page is 'products_index'

            $('.product').each ->
                fetch_product_images(($ @), render_single_product_image)
