fix html issue, refactor globals, cleanup code
technology json stubb