Remove unused javascript