beginning no jquery implementation; adding in options parsing