added javascript for basic boostrap behaviour