make javascript unobtrusive