JS: renable event tracing after recent FileEntity changes

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the file-reading half of FileEntity

This is only used to write files now.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the io direction flag from FileEntity constructor

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: don't throw an exception if a report file cannot be closed

Log the error and move along.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: update version to 2014-11

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>