Updated script file to support Bootstrap 3