fix for the broken js reference