Fixed JS URL
Added email test