added js console log because firefox is a dick