Cleanup from old unsupported data fields
Fixed unit test
Added conditionals to prevent NodeJS from executing browser code
Removed call to stylesheet loader which is not relevant in NodeJS