small changes
small changes to js