Fix attributes type bug
Merge pull request #527 from remoe/fix/duktape_attr_types

Fix attributes type bug