Fixed indents and converted metrics.coffee to coffescript