move js gimmick shit into local.js, remove some gimmicks