JS Foundations Intermediate Assignment 1

Updated fixes:
1. Last letter now shows.
2. Space &nbsp still shows border-right.
3. Global variables removed by immediate function.