fixed errors and added jquery dependency for bootstrap