Fix indentation and add strict mode
Handle jsHint errors