Testing Javascript on markdown