now using static socket js file