Fixed js syntax format
Extract original page locations