js: add readonly functions
js: tag list is now optionnal