Add option_default function and improve code style
Fix some issues with the JavaScript
Add new metadata.json