JS Apps exam and some homework