updated core
updated sample index.html