Fixes in NT JS package; server methods wrapped up in flaskserver.py