Added javascript snippet for test functions.
Added .netrwhist to gitignore.