forceInsertTopBlock handles case where input is null/undefined
Merge pull request #393 from code-dot-org/calcLB

forceInsertTopBlock handles case where input is null/undefined