configurations to js library