removed fun with javascript