write the bootstrap javascript