Ignore another external library

Signed-off-by: Michal Čihař <michal@cihar.com>
Define array before using it

Signed-off-by: Michal Čihař <michal@cihar.com>
Correct spacing before javascript operators

Signed-off-by: Michal Čihař <michal@cihar.com>
Define variable in correct scope

Signed-off-by: Michal Čihař <michal@cihar.com>
Define variables before using them

Signed-off-by: Michal Čihař <michal@cihar.com>
Declare variable in top scope

Signed-off-by: Michal Čihař <michal@cihar.com>