restored .gitignore and js libraries
better network status handling, wip