Added echojs functionality