js for Widget Support added