Add document to JS globals
Removed not required gulp packages and updated rest
New build of front-end libs