Refactor javascript line execution to not close context on first run, create resource directory with placeholder html