profile and javascript bug fixed