Please fix last line of `coffee-mode` function instead of this line.
And `indent-tabs-mode` is defined as  buffer local variable so you need not declare
it as buffer local variable.