fixed js in dreamView