Some little javascript from me or modified from others