Some js practics etc.