Replace indent tab with spacewq
Remove immediate function
Fixes function style and add use strict