simplified bootstrap javascript