Replaced custom selector with Sizzle library