fixed broken js - missing $