Remove unused code
Remove valid this
Code format
Use methods npm; code format