Javascript base examples