modularized jquery code, added temporary bootstrap new element button