update on theme configs and added .js example file