Copyright, indentation and JSHint pass

Signed-off-by: Stéphane HULARD <s.hulard@gmail.com>