fix js for link prevent default