Remove Compiler.depths parameter

This is no longer necessary with the depths array tracking and adds compiler overhead.
Remove unused vars and add jshint checking
Fix remaining depth arg
Avoid unnecessary this. reference