Added js to new page view, fixed file uploading on page custom fields, Issue #163