Code cleanup

turned a few function statements to function expressions. Changed 'opera' to just 'o', etc.
Merge pull request #31 from jaycliff/patch-1

Looks great, thanks for the code cleanup.