JS Added detect