fixed issue5,javascript locatons