WPBQA-312 Added attach for js