Bug 1008199 - Factor out unneeded dependencies in functional.js
Merge pull request #1488 from ejpbruel/1008199

fix Bug 1008199 - Factor out unneeded dependencies in functional.js r=@gozala