Moved the placeholder code to javascript so it'll work in android too.