javascript library to analyse page