Update JS sample app