Avoid double checking for checks attribute
Explicitly define parseInt radix
Remove some extra comas
Merge two load functions
Use type safe comparing
Missing semicolon