javascript skeletons