test.js without Hint errors and more readable

also added ignorefile to exclude devel dependencies from scan