Move fma to fn.js

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>