Fixing the js mod