Fixed factorym2 snippet
indentation for JavaScript