some extra javascript