seprated JS into prince and no-prince files