You have two syntax errors in the posted code:

1. framelooper in the addEventListener but frameLooper elsewhere ("L" is not capitalized in first instance)
2. You're missing a closing parenthesis...