added javascript stuff from bootstrap