major update for no jquery