Add copyright line
Make JSHint clean
More precise strict code assertion
Cleanup global resources