fixed expand user and moved js to index.html