#80 removing unused js code