Added factorial.js