Kratos End-to-End javascript app