Change inline javascript