removed broken js code