add enum, parentgid and default bug fix
adding underscore and other js libs
bunch of misc changes