removed unneccessary gems, also removed uneceesary javascript functions