fixed js in reading bar