Moved file upload JS support code to vendor
Added session manager code to vendor