Added link preview js