js analysis