javascript without precompilation
show location in index