Simple log function in asp.net to be used with js function