change test index.html to AMD version