profile done in u.js,need style,commeted out unused code