fix JS lib header
add usage of JS lib